package com.miyake.dsp.otdr;

import com.miyake.dsp.osa.lab.LabUiAnnotation;

public class RealOtdrSetting {
	public DistanceRange getDistanceRange() {
		return distanceRange;
	}

	public void setDistanceRange(DistanceRange distanceRange) {
		this.distanceRange = distanceRange;
	}

	public PulseWidth getPulseWidth() {
		return pulseWidth;
	}

	public void setPulseWidth(PulseWidth pulseWidth) {
		this.pulseWidth = pulseWidth;
	}

	public enum DistanceRange {
		DR_500m, DR_1000m, DR_5000m, DR_10000m, DR_25000m, DR_50000m,
	};
	public enum PulseWidth {
		PW_10ns, PW_50ns, PW_100ns, PW_200ns, PW_500ns, PW_1000ns, PW_5000ns, PW_10000ns
	};	
	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public int getPort() {
		return port;
	}

	public void setPort(int port) {
		this.port = port;
	}

	@LabUiAnnotation(caption="IP Address")
	private String ip = "192.168.0.1";
	
	@LabUiAnnotation(caption="Port Number")
	private int port = 2001;
	
	@LabUiAnnotation(caption="Distance Range[m]")
	private DistanceRange distanceRange = DistanceRange.DR_5000m;
	
	@LabUiAnnotation(caption="Pulse Width[ns]")
	private PulseWidth pulseWidth = PulseWidth.PW_50ns;
	
}
